package com.yc.rh.biz.impl;

import java.util.List;

import com.yc.rh.biz.ISpecialSpaceInfoBiz;
import com.yc.rh.dao.ISpecialSpaceInfoDao;
import com.yc.rh.entities.SpecialSpaceInfo;

public class SpecialSpaceInfoBizImpl implements ISpecialSpaceInfoBiz{
	private ISpecialSpaceInfoDao specialSpaceInfoDao;	
	
	public void setSpecialSpaceInfoDao(ISpecialSpaceInfoDao specialSpaceInfoDao) {
		this.specialSpaceInfoDao = specialSpaceInfoDao;
	}

	@Override
	public int addImg(SpecialSpaceInfo ssi) {
		return specialSpaceInfoDao.addImg(ssi);
	}

	@Override
	public int delImg(int ssid) {
		return specialSpaceInfoDao.delImg(ssid);
	}

	@Override
	public List<SpecialSpaceInfo> find(Integer pageNo, Integer pageSize) {
		return specialSpaceInfoDao.find(pageNo, pageSize);
	}
}
